<?php
class EditProfileAction extends FrontendAction
{
	public function execute()
	{
		$userDao = new UserDao();
		$userId = isset($_REQUEST["id"]) ? $_REQUEST["id"] : $this->context->cookie['user_id'];
		$this->view->user = $userDao->getUser($userId);
		$this->view->render();
	}
}